package com.foreknow.demo26;

import java.io.Serializable;

public class Student implements Serializable {
    private int id;
    private String name;
    private String school;
    private String pnum;

    public Student(int id,String name,String school,String pnum){
        this.id = id;
        this.name = name;
        this.school = school;
        this.pnum = pnum;

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getPnum() {
        return pnum;
    }

    public void setPnum(String pnum) {
        this.pnum = pnum;
    }
}
